const myUrl = require('./url');
import { httpReq, uploadReq } from './request';

// ## Staff  管理相关 Staff/

/**
 * 批量导入日结工资
 * @param params
 * @param filePath
 * @returns {Promise<unknown>}
 */
export function ImportBatchDailySettlement(filePath, params) {
    return uploadReq({
        url: myUrl.baseUrl + 'Staff/ImportBatchDailySettlement',
        data: params,
        filePath: filePath,
        load: 0
    })
}
/**
 * 批量离职
 * @param params
 * @param filePath
 * @returns {Promise<unknown>}
 */
export function ImportWorkerBatch(filePath, params) {
    return uploadReq({
        url: myUrl.baseUrl + 'Staff/ImportWorkerBatch',
        data: params,
        filePath: filePath,
        load: 0
    })
}
/**
 * 批量离职
 * @param params
 * @param filePath
 * @returns {Promise<unknown>}
 */
export function ImportQuitBatch(filePath, params) {
    return uploadReq({
        url: myUrl.baseUrl + 'Staff/ImportQuitBatch',
        data: params,
        filePath: filePath,
        load: 0
    })
}
/**
 * 批量预入职 Excel使用✖
 * @param params
 * @param filePath
 * @returns {Promise<unknown>}
 */
export function ImportBatchWorkerPre(filePath, params) {
    return uploadReq({
        url: myUrl.baseUrl + 'Staff/ImportBatchWorkerPre',
        data: params,
        filePath: filePath,
        load: 0
    })
}
/**
 * 手动发放奖励 重新生成转账记录
 * @param params
 * @returns {Promise<unknown>}
 */
export function ComeAgainManualRewards(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/ComeAgainManualRewards',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 手动发放奖励 转账记录单笔转账
 * @param params
 * @returns {Promise<unknown>}
 */
export function TransferAccountsManualRewards(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/TransferAccountsManualRewards',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 手动发放奖励 转账记录解锁
 * @param params
 * @returns {Promise<unknown>}
 */
export function TransferUnlockManualRewards(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/TransferUnlockManualRewards',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 手动发放奖励 转账记录审核
 * @param params
 * @returns {Promise<unknown>}
 */
export function AttestationTransferManualRewards(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/AttestationTransferManualRewards',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 伯乐奖励 重新生成转账记录
 * @param params
 * @returns {Promise<unknown>}
 */
export function ComeAgainBole(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/ComeAgainBole',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 伯乐奖励 导入满30天的员工
 * @param params
 * @returns {Promise<unknown>}
 */
export function ImportCompanyBoleFullDay30(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/ImportCompanyBoleFullDay30',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 伯乐奖励 刷新当前列表状态
 * @param params
 * @returns {Promise<unknown>}
 */
export function RefreshCompanyBoleList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/RefreshCompanyBoleList',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 伯乐奖励 刷新符合发放条件的用户列表 ，并且加入到发放列表中
 * @param params
 * @returns {Promise<unknown>}
 */
export function InitCompanyBoleList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/InitCompanyBoleList',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 同步收款账号和收款方式 （仅限于还未获取收款方式的用户）（公用）
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateTransferUserCollectionAccount(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/UpdateTransferUserCollectionAccount',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 转账记录 查询是否到账（公用）
 * @param params
 * @returns {Promise<unknown>}
 */
export function TransferQueryArrival(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/TransferQueryArrival',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 更新转账记录收款账号信息（公用）
 * @param params
 * @returns {Promise<unknown>}
 */
export function EditTransferAccount(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/EditTransferAccount',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 伯乐奖励 转账记录单笔转账
 * @param params
 * @returns {Promise<unknown>}
 */
export function TransferAccountsBole(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/TransferAccountsBole',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 伯乐奖励 转账记录解锁
 * @param params
 * @returns {Promise<unknown>}
 */
export function TransferUnlockBole(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/TransferUnlockBole',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 伯乐奖励 转账记录审核
 * @param params
 * @returns {Promise<unknown>}
 */
export function AttestationTransferBole(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/AttestationTransferBole',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取报名统计的数据
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetWorkerPreStatisticsData(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/GetWorkerPreStatisticsData',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 更新入职员工的借支额度
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateEntryLoanMoney(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/UpdateEntryLoanMoney',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 更新入职员工的发薪日
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateEntryPayday(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/UpdateEntryPayday',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取用户完整手机号
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetUserCompleteMobilePhone(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/GetUserCompleteMobilePhone',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 识别银行卡信息
 * @param params
 * @param filePath
 * @returns {Promise<unknown>}
 */
export function GetOCRBankInfo(filePath, params) {
    return uploadReq({
        url: myUrl.baseUrl + 'Staff/GetOCRBankInfo',
        data: params,
        filePath: filePath,
        load: 0
    })
}
/**
 * 识别身份证信息
 * @param params
 * @param filePath
 * @returns {Promise<unknown>}
 */
export function GetOCRIDCardInfo(filePath, params) {
    return uploadReq({
        url: myUrl.baseUrl + 'Staff/GetOCRIDCardInfo',
        data: params,
        filePath: filePath,
        load: 0
    })
}

/**
 * 更改用户手机号，登录账号
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateAccountMobilePhone(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/UpdateAccountMobilePhone',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 根据简历ID和求职者ID获取简历详情
 * @param params
 * @returns {Promise<unknown>}
 */
export function Get_resume_detail_info(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/Get_resume_detail_info',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 推荐报名奖励 转账记录审核
 * @param params
 * @returns {Promise<unknown>}
 */
export function AttestationTransferRecommenEenroll(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/AttestationTransferRecommenEenroll',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 推荐报名奖励 转账记录单笔转账
 * @param params
 * @returns {Promise<unknown>}
 */
export function TransferAccountsRecommenEenroll(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/TransferAccountsRecommenEenroll',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 推荐报名奖励 转账记录解锁
 * @param params
 * @returns {Promise<unknown>}
 */
export function TransferUnlockRecommenEenroll(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/TransferUnlockRecommenEenroll',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 推荐报名奖励 重新生成转账记录
 * @param params
 * @returns {Promise<unknown>}
 */
export function ComeAgainRecommenEenroll(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/ComeAgainRecommenEenroll',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 推荐报名记录发放列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetRecommenEenrollGrantList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/GetRecommenEenrollGrantList',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 金币提现 转账记录审核
 * @param params
 * @returns {Promise<unknown>}
 */
export function AttestationTransferGoldCoinWithdrawal(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/AttestationTransferGoldCoinWithdrawal',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 金币提现 重新生成转账记录
 * @param params
 * @returns {Promise<unknown>}
 */
export function ComeAgainGoldCoinWithdrawal(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/ComeAgainGoldCoinWithdrawal',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 金币提现 转账记录单笔转账
 * @param params
 * @returns {Promise<unknown>}
 */
export function TransferAccountsGoldCoinWithdrawal(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/TransferAccountsGoldCoinWithdrawal',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取金币提现列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetGoldCoinWithdrawalList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/GetGoldCoinWithdrawalList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取手动发放奖励列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetManualRewardsList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/GetManualRewardsList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取伯乐奖励列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetBoleList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/GetBoleList',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 添加单个日结员工信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function AddDailySettlement(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/AddDailySettlement',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 删除单个日结员工信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function DeleteDailySettlement(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/DeleteDailySettlement',
        data: params,
        method: 'GET',
        load: 0
    })
}

/**
 * 批量删除日结员工
 * @param params
 * @param filePath
 * @returns {Promise<unknown>}
 */
export function ImportBatchDailySettlementStaffDelete(filePath, params) {
    return uploadReq({
        url: myUrl.baseUrl + 'Staff/ImportBatchDailySettlementStaffDelete',
        data: params,
        filePath: filePath,
        load: 0
    })
}
/**
 * 批量导入日结员工
 * @param params
 * @param filePath
 * @returns {Promise<unknown>}
 */
export function ImportBatchDailySettlementStaff(filePath, params) {
    return uploadReq({
        url: myUrl.baseUrl + 'Staff/ImportBatchDailySettlementStaff',
        data: params,
        filePath: filePath,
        load: 0
    })
}

/**
 * 单个员工日结发放
 * @param params
 * @returns {Promise<unknown>}
 */
export function AddDailySettlementPayRecord(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/AddDailySettlementPayRecord',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 查询日结工资是否到账
 * @param params
 * @returns {Promise<unknown>}
 */
export function QueryArrivalDailySettlement(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/QueryArrivalDailySettlement',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 重发日结工资
 * @param params
 * @returns {Promise<unknown>}
 */
export function ComeAgainDailySettlement(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/ComeAgainDailySettlement',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 更新发放日结工资记录收款账号信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateDailySettlementAccount(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/UpdateDailySettlementAccount',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 单笔发放日结工资
 * @param params
 * @returns {Promise<unknown>}
 */
export function TransferAccountsDailySettlement(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/TransferAccountsDailySettlement',
        data: params,
        method: 'POST',
        Tips1: true,
        load: 0
    })
}
/**
 * 获取日结记录列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetDailySettlementList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/GetDailySettlementList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取日结员工信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetDailySettlementStaffList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/GetDailySettlementStaffList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 删除厂牌
 * @param params
 * @returns {Promise<unknown>}
 */
export function DeleteWorkerBrand(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/DeleteWorkerBrand',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 审批员工厂牌
 * @param params
 * @returns {Promise<unknown>}
 */
export function ApprovalWorkerBrand(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/ApprovalWorkerBrand',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 所有员工上传厂牌列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetWorkerUploadBrandList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/GetWorkerUploadBrandList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 离职二次确认，确认后即时离职
 * @param params
 * @returns {Promise<unknown>}
 */
export function QuitConfirm(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/QuitConfirm',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 离职进行登记记录，每天固定时间统一处理
 * @param params
 * @returns {Promise<unknown>}
 */
export function StaffQuitRegister(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/StaffQuitRegister',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 离职撤销，撤销离职登记
 * @param params
 * @returns {Promise<unknown>}
 */
export function QuitRevoke(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/QuitRevoke',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取离职确认列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetQuitConfirmList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/GetQuitConfirmList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取报名汇总明细数据
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetRegistrationStatisticsSummaryDetailData(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/GetRegistrationStatisticsSummaryDetailData',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取报名汇总数据
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetRegistrationStatisticsSummaryData(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/GetRegistrationStatisticsSummaryData',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 手动加入 报名推荐奖励发放列表（可在手动发放列表查看）
 * @param params
 * @returns {Promise<unknown>}
 */
export function AddRecommenEenrollReward(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/AddRecommenEenrollReward',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 推荐报名记录列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetRecommenEenrollList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/GetRecommenEenrollList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取用户推荐有礼列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetRecommendRegisterList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Staff/GetRecommendRegisterList',
        data: params,
        method: 'POST',
        load: 0
    })
}
// ## Dorm  宿舍相关 Dorm/

/**
 * 申请员工临时入住
 * @param params
 * @returns {Promise<unknown>}
 */
export function ApplyStaffTempCheckIn(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/ApplyStaffTempCheckIn',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取临时申请入住列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetStaffTempCheckInList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/GetStaffTempCheckInList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取员工入住信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetDormStaffList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/GetDormStaffList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取查房列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetDormPatrolList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/GetDormPatrolList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取宿舍信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetDormList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/GetDormList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 删除宿舍信息 注意删除会同时删除宿舍下的所有房间
 * @param params
 * @returns {Promise<unknown>}
 */
export function DeleteDorm(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/DeleteDorm',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 更新宿舍信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateDorm(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/UpdateDorm',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 添加宿舍信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function AddDorm(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/AddDorm',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取员工退房信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetDormStaffCheckOutList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/GetDormStaffCheckOutList',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 获取员工入住信息详情
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetDormStaffDetail(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/GetDormStaffDetail',
        data: params,
        method: 'GET',
        load: 0
    })
}

/**
 * 编辑人员信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateDormStaff(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/UpdateDormStaff',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 更换房间
 * @param params
 * @returns {Promise<unknown>}
 */
export function ReplaceDormRoom(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/ReplaceDormRoom',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取所有宿舍
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetDormSelectList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/GetDormSelectList',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 获取房间信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetDormRoomList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/GetDormRoomList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 删除房间信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function DeleteDormRoom(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/DeleteDormRoom',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 更新房间信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateDormRoom(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/UpdateDormRoom',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 添加房间信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function AddDormRoom(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/AddDormRoom',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取房间二维码Url
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetDormRoomQrCodeUrl(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Dorm/GetDormRoomQrCodeUrl',
        data: params,
        method: 'GET',
        load: 0
    })
}
// ## Customer 客服相关 Customer/
/**
 * 获取招聘专员的专属二维码
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetCustomerQrCode(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Customer/GetCustomerQrCode',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 获取客服的推广二维码
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetCustomerQrCodePromotion(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Customer/GetCustomerQrCodePromotion',
        data: params,
        method: 'POST',
        load: 0
    })
}
// ## Other 

/**
 * 获取日志记录列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetLogRecordList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Other/GetLogRecordList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取打卡记录列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetClockInList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Other/GetClockInList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取用户备注信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetUserEmployeeList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Other/GetUserEmployeeList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取意见反馈分页列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetFeedbackList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Other/GetFeedbackList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 意见反馈处理
 * @param params
 * @returns {Promise<unknown>}
 */
export function HandleFeedback(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Other/HandleFeedback',
        data: params,
        method: 'POST',
        load: 0
    })
}

// ## Company 企业相关 Company/

/**
 * 入职名单导入
 * @param params
 * @param filePath
 * @returns {Promise<unknown>}
 */
export function WorkerRosterBatch(filePath, params) {
    return uploadReq({
        url: myUrl.baseUrl + 'Staff/WorkerRosterBatch',
        data: params,
        filePath: filePath,
        load: 0
    })
}
/**
 * 刷新当前入职奖励列表状态
 * @param params
 * @returns {Promise<unknown>}
 */
export function RefreshCompanyJobAwardList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/RefreshCompanyJobAwardList',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 刷新符合入职奖励发放条件的用户列表 ，并且加入到发放列表中
 * @param params
 * @returns {Promise<unknown>}
 */
export function InitCompanyJobAwardList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/InitCompanyJobAwardList',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 入职奖励获取收款账号和收款方式 （仅限于导入发放列表后还未绑定收款方式的用户)
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateJobAwardUserCollectionAccount(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/UpdateJobAwardUserCollectionAccount',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 录入入职奖励发放记录（手动发放满30天入职奖励）
 * @param params
 * @returns {Promise<unknown>}
 */
export function AddJobAwardManualRecord30(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/AddJobAwardManualRecord30',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 入职奖励审核
 * @param params
 * @returns {Promise<unknown>}
 */
export function AttestationJobAward(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/AttestationJobAward',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 入职奖励解锁
 * @param params
 * @returns {Promise<unknown>}
 */
export function JobAwardUnlock(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/JobAwardUnlock',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 入职奖励单笔转账
 * @param params
 * @returns {Promise<unknown>}
 */
export function JobAwardTransferAccounts(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/JobAwardTransferAccounts',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 入职奖励 查询是否到账
 * @param params
 * @returns {Promise<unknown>}
 */
export function JobAwardQueryArrival(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/JobAwardQueryArrival',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 更新入职奖励收款账号信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function EditJobAwardAccount(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/EditJobAwardAccount',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 重新生成入职奖励记
 * @param params
 * @returns {Promise<unknown>}
 */
export function ComeAgainJobAward(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/ComeAgainJobAward',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 借资还款撤销
 * @param params
 * @returns {Promise<unknown>}
 */
export function RepaymentCancellation(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/RepaymentCancellation',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 更新借支收款账号信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function EditLoanAccount(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/EditLoanAccount',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 单笔转账
 * @param params
 * @returns {Promise<unknown>}
 */
export function TransferAccounts(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/TransferAccounts',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 重新生成借支记
 * @param params
 * @returns {Promise<unknown>}
 */
export function ComeAgainLoan(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/ComeAgainLoan',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 借支审核
 * @param params
 * @returns {Promise<unknown>}
 */
export function AttestationLoan(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/AttestationLoan',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 特殊借支解锁
 * @param params
 * @returns {Promise<unknown>}
 */
export function SpecialLoanUnlock(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/SpecialLoanUnlock',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 添加黑名单信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function AddBlack(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/AddBlack',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 扫码到店登记（跟报名处理区分出权限）
 * @param params
 * @returns {Promise<unknown>}
 */
export function CancelForecastNew(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/CancelForecastNew',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 删除黑名单信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function DeleteBlack(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/DeleteBlack',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 删除入职名单
 * @param params
 * @returns {Promise<unknown>}
 */
export function DeleteWorkerRoster(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/DeleteWorkerRoster',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 删除银行信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function DeleteBank(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/DeleteBank',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 更新银行信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateBankInfo(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/UpdateBankInfo',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取银行卡信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetBankById(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetBankById',
        data: params,
        method: 'GET',
        isJSEncrypt: false,
        load: 0
    })
}
/**
 * 续签合同-针对已经入职的员工添加合同
 * @param params
 * @returns {Promise<unknown>}
 */
export function RenewalContract(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/RenewalContract',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 更新员工的负责人
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateStaffPersonCharge(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/UpdateStaffPersonCharge',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 新增特殊借支
 * @param params
 * @returns {Promise<unknown>}
 */
export function AddSpecialLoanApply(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/AddSpecialLoanApply',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 报名记录作废
 * @param params
 * @returns {Promise<unknown>}
 */
export function InvalidForecast(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/InvalidForecast',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 更新预入职信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateEntryInfoPre(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/UpdateEntryInfoPre',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取预入职员工详情信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetWorkerDetailPre(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetWorkerDetailPre',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 添加合同并办理正式入职
 * @param params
 * @returns {Promise<unknown>}
 */
export function addContract(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/addContract',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 报名处理
 * @param params
 * @returns {Promise<unknown>}
 */
export function CancelForecast(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/CancelForecast',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 编辑用户实名信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function AddRealName(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/AddRealName',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 获取实名信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetRealNameById(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetRealNameById',
        data: params,
        method: 'GET',
        isJSEncrypt: false,
        load: 0
    })
}
/**
 * 根据企业名称获取职位信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetCompanyJobListByCompanyId(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetCompanyJobListByCompanyId',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 办理员工入职【传入用户ID】
 * @param params
 * @returns {Promise<unknown>}
 */
export function HandleEntryById(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/HandleEntryById',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 根据批次号和企业id获取明细列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetStatementDetailList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetStatementDetailList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取结算表列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetStatementList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetStatementList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 根据企业ID和月份批次号手动作废结算表
 * @param params
 * @returns {Promise<unknown>}
 */
export function CancelSettlement(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/CancelSettlement',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取结算企业列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetStatementCompanyList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetStatementCompanyList',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 获取工资单列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetPayrollList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetPayrollList',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 获取入职奖励列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetJobAwardList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetJobAwardList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取还款列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetLoanRePayList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetLoanRePayList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取黑名单信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetBlackList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetBlackList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 入职名单列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetWorkerRosterList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetWorkerRosterList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取银行卡列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetBankList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetBankList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 所有离职员工列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetLeaveJobList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetLeaveJobList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 所有入职员工列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetWorkerList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetWorkerList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取所有公共用户列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetUserFollowerList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetUserFollowerList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 添加跟进用户
 * @param params
 * @returns {Promise<unknown>}
 */
export function AddFollowerUser(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/AddFollowerUser',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 我的跟进用户列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetMyUserFollowerList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetMyUserFollowerList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取职位评论信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetCompanyJobCommentList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetCompanyJobCommentList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取职位信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetCompanyJobList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetCompanyJobList',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 所有求职简历列表 查询条件为职位ID,可选根据职位ID查简历
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetCompanyResumeList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetCompanyResumeList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 所有在线用户信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetOnlineUserInfoList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetOnlineUserInfoList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取企业信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetCompanyList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetCompanyList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取企业详情信息 (包括正式工)
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetCompanyDetail(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetCompanyDetail',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 添加企业信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function AddCompany(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/AddCompany',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 更新企业信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateCompany(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/UpdateCompany',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取借支黑名单信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetLoanBlackList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetLoanBlackList',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 添加借支黑名单信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function AddLoanBlack(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/AddLoanBlack',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 删除借支黑名单信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function DeleteLoanBlack(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/DeleteLoanBlack',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 删除企业信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function DeleteCompany(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/DeleteCompany',
        data: params,
        method: 'POST',
        load: 0
    })
}

/**
 * 所有预入职列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetWorkerListPre(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetWorkerListPre',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 下载电子回单
 * @param params
 * @returns {Promise<unknown>}
 */
export function DownloadEreceipt(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/DownloadEreceipt',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 到账查询
 * @param params
 * @returns {Promise<unknown>}
 */
export function QueryArrival(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/QueryArrival',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取借支列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetLoanList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetLoanList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
* 获取待还列表
* @param params
* @returns {Promise<unknown>}
*/
export function GetToBeRepaidList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetToBeRepaidList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取支付宝列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetAlipayList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetAlipayList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 更新支付宝信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateAlipayInfo(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/UpdateAlipayInfo',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 删除支付宝信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function DeleteAlipay(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/DeleteAlipay',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 所有用户信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetUserInfoList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetUserInfoList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 离职登记列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetQuitRegisterList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetQuitRegisterList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取商户信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetMerchantList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetMerchantList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取商户登记详情列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetMerchantRegisterRecordList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetMerchantRegisterRecordList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 添加商户信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function AddMerchant(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/AddMerchant',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 修改商户信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function UpdateMerchant(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/UpdateMerchant',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 获取合同列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetContractList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetContractList',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 删除商户信息
 * @param params
 * @returns {Promise<unknown>}
 */
export function DeleteMerchant(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/DeleteMerchant',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 获取商户二维码
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetMerchantQrCodeUrl(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Company/GetMerchantQrCodeUrl',
        data: params,
        method: 'GET',
        load: 0
    })
}
// ## System 系统相关 System/


/**
 * 修改登录账户密码
 * @param params
 * @returns {Promise<unknown>}
 */
export function updatePwdByLogin(params) {
    return httpReq({
        url: myUrl.baseUrl + 'System/updatePwdByLogin',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 获取首页展示的菜单 APP使用
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetHomeMenuListApp(params) {
    return httpReq({
        url: myUrl.baseUrl + 'System/GetHomeMenuListApp',
        data: params,
        method: 'GET',
        isJSEncrypt: true,
        load: 0
    })
}
/**
* 获取当前登录信息
* @param params
* @returns {Promise<unknown>}
*/
export function GetLoginUserInfo(params) {
    return httpReq({
        url: myUrl.baseUrl + 'System/GetLoginUserInfo',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 根据类型获取用户列表
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetPersonChargeUserList(params) {
    return httpReq({
        url: myUrl.baseUrl + 'System/GetPersonChargeUserList',
        data: params,
        method: 'GET',
        load: 0
    })
}
// ## Login 登录相关 Login/
/**
 * 获取图形验证码
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetVerifyCode(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Login/GetVerifyCode',
        data: params,
        method: 'GET',
        isJSEncrypt: true,
        load: 0
    })
}
/**
 * 用户手机验证码登录
 * @param params
 * @returns {Promise<unknown>}
 */
export function UserLoginPhone(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Login/UserLoginPhone',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 用户登录
 * @param params
 * @returns {Promise<unknown>}
 */
export function UserLogin(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Login/UserLogin',
        data: params,
        method: 'POST',
        load: 0
    })
}
/**
 * 退出登录
 * @param params
 * @returns {Promise<unknown>}
 */
export function LogOut(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Login/LogOut',
        data: params,
        method: 'GET',
        load: 0
    })
}
/**
 * 获取接口公钥
 * @param params
 * @returns {Promise<unknown>}
 */
export function GetPublicKey(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Login/GetPublicKey',
        data: params,
        method: 'GET',
        load: 0
    })
}

/**
 * 检查登录手机号是否存在以及合法
 * @param params
 * @returns {Promise<unknown>}
 */
export function CheckLoginNamePhone2(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Login/CheckLoginNamePhone2',
        data: params,
        method: 'GET',
        load: 0
    })
}

/**
 * 发送手机验证码后台用户使用，会检查后台账户是否正常状态（小程序 ）
 * @param params
 * @returns {Promise<unknown>}
 */
export function SendMobileCodeAdminApplet(params) {
    return httpReq({
        url: myUrl.baseUrl + 'Login/SendMobileCodeAdminApplet',
        data: params,
        method: 'POST',
        load: 0
    })
}
